home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
ftn
/
index.z
/
index
Wrap
Text File
|
1998-10-30
|
1KB
|
67 lines
IIIINNNNDDDDEEEEXXXX((((3333FFFF)))) IIIINNNNDDDDEEEEXXXX((((3333FFFF))))
NNNNAAAAMMMMEEEE
index - return location of FORTRAN substring
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
cccchhhhaaaarrrraaaacccctttteeeerrrr****NNNN1111 cccchhhh1111
cccchhhhaaaarrrraaaacccctttteeeerrrr****NNNN2222 cccchhhh2222
iiiinnnntttteeeeggggeeeerrrr iiii
iiii ==== iiiinnnnddddeeeexxxx((((cccchhhh1111,,,, cccchhhh2222))))
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The result of _i_n_d_e_x is an integer value indicating the position in the
first argument of the first substring which is identical to the second
argument. The result of _i_n_d_e_x('_A_B_C_D_E_F','CD'), for example, would be 3.
If no substring of the first argument matches the second argument, the
result is zero. _i_n_d_e_x returns the result type integer*2 if the ----iiii2222
compile option is in effect; otherwise, the result type is integer*4.
PPPPaaaaggggeeee 1111